function loopRool(height, speed, delay) {
	height = height || 20;
	speed = speed || 40;
	delay = delay || 3500;
	
	var p = false;
	var t;
	var o = document.getElementById("loopRool");
	o.innerHTML += o.innerHTML;
	o.style.marginTop = 0;
	o.onmouseover = function() {
		p = true;
	}
	o.onmouseout = function() {
		p = false;
	}

	function start() {
		t = setInterval(scrolling, speed);
		if(!p) o.style.marginTop = parseInt(o.style.marginTop) - 1 + "px";
	}

	function scrolling() {
		if(parseInt(o.style.marginTop) % height != 0) {
			o.style.marginTop = parseInt(o.style.marginTop) - 1 + "px";
			if(Math.abs(parseInt(o.style.marginTop)) >= o.scrollHeight / 2) o.style.marginTop = 0;
		} else {
			clearInterval(t);
			setTimeout(start, delay);
		}
	}
	setTimeout(start, delay);
}